5. For the purposes of this Subdivision, a partnership is considered to be a resident of Québec if the majority of the partners are residents of Québec.
A corporation is considered to be a resident of Québec if the majority of its voting shares are held by residents of Québec and the majority of its shareholders are residents of Québec or if the majority of its members are residents of Québec.